package com.rnkrsoft.suyan.config.server.config.entity;

import com.rnkrsoft.framework.orm.PrimaryKey;
import com.rnkrsoft.framework.orm.PrimaryKeyStrategy;
import com.rnkrsoft.framework.orm.jdbc.*;
import lombok.*;
/**
 * Created by woate on 2018/5/13.
 */
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "OPERATE_HISTORY", prefix = "TB")
@Comment("操作历史主表")
public class OperateHistoryEntity extends BaseEntity {
    @PrimaryKey(strategy = PrimaryKeyStrategy.UUID)
    @StringColumn(name = "OPERATE_ID", nullable = false)
    @Comment("操作编号")
    String operateId;

    @NumberColumn(name = "OPERATOR_ID", nullable = false)
    @Comment("操作员编号")
    Integer operatorId;

    @StringColumn(name = "OPERATOR_NAME", nullable = false)
    @Comment("操作员姓名")
    String operatorName;
}
